package com.example.lin.alarm;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.widget.Toast;

/**
 * Created by Lin on 2017/9/22.
 */

public class NotifyService extends Service{
    public IBinder onBind(Intent arg0){
        return null;
    }

    public void onCreate(){
        AlarmService app = AlarmService.getApp();
        app.btEvent("from NotifyService");
        Toast.makeText(this,"这是系统自带的service",Toast.LENGTH_LONG).show();
    }
}
